﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 观察者模式
{
    public interface ISubject
    {
        void AddObserver(IObserver observer);
        void RemoveObserver(IObserver observer);
       void NotifyObserver(object arg);
        void NotifyObserver();
    }
}
